package router

import (
	"net/http"
	"git.oschina.net/YPTArch/auth/controllers"
)

func InitRouter()  {
	http.HandleFunc("/login", controllers.Login)  //登录
	http.HandleFunc("/logout", controllers.Logout) //登出
	http.HandleFunc("/validate", controllers.Validate) //验证
	http.HandleFunc("/refresh", controllers.Refresh)  //刷新token
}
